package com.cevent.community.app.common.enums;

/** 开关常量
 * Created by Cevent on 2021/9/15.
 */
public enum YesOrNoEnum {
    YES(1,"是"),
    NO(0,"否");

    private Integer code;
    private String desc;

    YesOrNoEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
